﻿
echo off
echo "enter the target version number"

set /p target_version=
set connectionString= "Data Source=.\SQLEXPRESS;AttachDbFilename=%CD%\Jobping.ShortUrls\App_Data\Db.mdf;Integrated Security=True;User Instance=True"
set dllLocation= ".\Jobping.Database\bin\Debug\Jobping.Database.dll"

echo on
.\Lib\Migrator\Migrator.Console.exe SqlServer %connectionString% %dllLocation% -version %target_version%

pause